swift make condition that you are in sumulator

114

#if targetEnvironment(simulator)
  // your simulator code
#else
  // your real device code
#endif

Comments

Submit
0 Comments